//
//  DSUnitContentViewModel.m
//  DSJY
//
//  Created by 冯华强 on 16/10/21.
//  Copyright © 2016年 dsjy. All rights reserved.
//  单元练习内容对象VM

#import "DSUnitContentViewModel.h"
#import "DSUnitSubContent.h"

@implementation DSUnitContentViewModel

//初始化
- (instancetype)initWithUnitSubContent:(DSUnitSubContent *)unitSubContent
{
    if (self = [super init]) {
        self.unitSubContent = unitSubContent;
        self.listening = unitSubContent.listening.firstObject;
    }
    return self;
}

@end
